##################################################################
# PyngFM is a Python implementation of Ping.fm API.
#
# Version: 1.0
# Author: Andrea Grandi <a _DOT_ grandi _AT_ gmail _DOT_ com>
# License: GPL2
# Website: http://pyngfm.googlecode.com
#
# Note: this code is inspired to PHPingFM project.
##################################################################

class SystemService():
    def __init__(self, id = None, name = None, trigger = None, url = None, icon = None):
        self.__id = id
        self.__name = name
        self.__trigger = trigger
        self.__url = url
        self.__icon = icon
    
    @property
    def id(self):
        return self.__id
    
    @property
    def name(self):
        return self.__name
    
    @property
    def trigger(self):
        return self.__trigger
    
    @property
    def url(self):
        return self.__url
    
    @property
    def icon(self):
        return self.__icon

    def setId(self, id):
        self.__id = id
        
    def setName(self, name):
        self.__name = name
        
    def setTrigger(self, trigger):
        self.__trigger = trigger
        
    def setUrl(self, url):
        self.__url = url
        
    def setIcon(self, icon):
        self.__icon = icon
